package com.start.manager.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.start.manager.dao.ButtonDao;
import com.start.manager.domain.common.PowerResult;
import com.start.manager.domain.entity.Button;
import com.start.manager.service.IButtonService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Lijian
 * @since 2020-01-07
 */
@Service
public class ButtonServiceImpl extends ServiceImpl<ButtonDao, Button> implements IButtonService {

    @Override
    public List<PowerResult> getResult(Set<Integer> buttonIdList) {
       return this.baseMapper.getAllPower(buttonIdList);
    }
}
